<article class="cadastro">
	<p class="titulocadastro"><?=isset($admin) ? "EDITAR ADMINISTRADOR" : "CADASTRAR ADMINISTRADOR"?></p>
	<p class="textocadastro"> Cadastre o administrador abaixo.</p>
		
	<form method="post" class="cadastrar" onsubmit="validarCadastroAdmin(this); return false;">
						<input type="hidden" name="idAdmin" value="<?=isset($admin) ? $admin->getIdAdmin() : 0?>" />
				<p class="pform">
					<label for="strLogin" class="lcadastrar">Login:</label>
					<input name="strLogin" id="strLogin" type="text" required class="incadastro" placeHolder="" value="<?=isset($admin) ? $admin->getLogin() : ""?>" <?=isset($admin) ? "disabled" : ""?>>
				</p>
				
				<p class="pform">
					<label for="strNome" class="lcadastrar">Nome:</label>
					<input name="strNome" id="strNome" type="text" required class="incadastro" placeHolder="" value="<?=isset($admin) ? $admin->getNome() : ""?>">
				</p>
				
				<p class="pform">
					<label for="strSenha" class="lcadastrar">Senha:</label>
					<input name="strSenha" id="strSenha" type="password" class="incadastro" placeHolder="">
				</p>
				<p class="pform">
					<input type="submit" value="CONFIRMAR CADASTRO" class="confirmarcadastro">
				</p>
		</form>
<div class="ligthBoxLoad" style="display: none;"><img src="/boletim/images/ajax-loader.gif"></div>
		<div class="respostaAjax" style="display: none; float: left; width: 100%; heigth: auto;"></div>						
</article>